package com.study.design.factory.abs;

import com.study.design.factory.abs.bean.User;

import lombok.extern.slf4j.Slf4j;


/**
 * @version V1.0
 * @title: AccessUser
 * @description: ${DESCRIPTION}
 * @author: wanghuilong
 * @date: 2019-05-30 17:59
 * @copyright: http://fingo.com.my/
 */
@Slf4j
public class AccessUser implements IUser {
    public void Inser(User user) {
        log.info("addLogStart Inser InputParam: user : {} ", user);
        System.out.println("Access insert user");
    }

    public User GetUser(int id) {
        log.info("addLogStart GetUser InputParam: id : {} ", id);
        System.out.println("Access get user");

        return null;
    }
}
